
public class Academy implements AgeErrorEventListener {
	
	private String name;
	private String address;
	
	
	public Academy(String name, String address) {
		super();
		this.name = name;
		this.address = address;
	}
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}


	@Override
	public void eventRaised(AgeErrorEvent e) {
		// TODO Auto-generated method stub
		System.out.println("Alder ikke accepteret!!");
		
	}
	
	

}
